package com.liuzhilong.infrastructure.basic.singleton;

import com.liuzhilong.infrastructure.basic.singleton.byenum.Singleton;

public class UseCase {

    public static void testDoubleCheck(){
        com.liuzhilong.infrastructure.basic.singleton.doublecheck.Singleton.getInstace().doSomething();
    }
    public static void testInner(){
        com.liuzhilong.infrastructure.basic.singleton.inner.Singleton.getInstace().doSomething();
    }
    public static void testEnum(){
        Singleton.INSTACE.doSometing();
    }
}
